package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.EmployeeAttendanceManagementDao;
import io.renren.entity.EmployeeAttendanceManagementEntity;
import io.renren.service.EmployeeAttendanceManagementService;



@Service("employeeAttendanceManagementService")
public class EmployeeAttendanceManagementServiceImpl implements EmployeeAttendanceManagementService {
	@Autowired
	private EmployeeAttendanceManagementDao employeeAttendanceManagementDao;
	
	@Override
	public EmployeeAttendanceManagementEntity queryObject(Integer id){
		return employeeAttendanceManagementDao.queryObject(id);
	}
	
	@Override
	public List<EmployeeAttendanceManagementEntity> queryList(Map<String, Object> map){
		return employeeAttendanceManagementDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return employeeAttendanceManagementDao.queryTotal(map);
	}
	
	@Override
	public void save(EmployeeAttendanceManagementEntity employeeAttendanceManagement){
		employeeAttendanceManagementDao.save(employeeAttendanceManagement);
	}

	@Override
	public void update(EmployeeAttendanceManagementEntity employeeAttendanceManagement){
		employeeAttendanceManagementDao.update(employeeAttendanceManagement);
	}
	
	@Override
	public void delete(Integer id){
		employeeAttendanceManagementDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		employeeAttendanceManagementDao.deleteBatch(ids);
	}
	
}
